package etracks.app;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class mixes extends Activity {

	public void onCreate(Bundle savedInstanceState){
		setTheme(android.R.style.Theme_NoTitleBar_Fullscreen);
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.mixespage);
	}
	
	public void getInstrumentalHandler(View v){	
		Intent intent = new Intent();
		Bundle bun = new Bundle();
		
		bun.putString("param_string", "instrumental"); // add two parameters: a string and a boolean
		bun.putBoolean("param_bool", true);

		intent.setClass(this, mixquery.class);
		intent.putExtras(bun);
		startActivity(intent); 
	}
	
	public void getRockHandler(View v){
		Intent intent = new Intent();
		Bundle bun = new Bundle();
		
		bun.putString("param_string", "rock"); // add two parameters: a string and a boolean
		bun.putBoolean("param_bool", true);

		intent.setClass(this, mixquery.class);
		intent.putExtras(bun);
		startActivity(intent);
	}
	
	public void getIndieHandler(View v){
		Intent intent = new Intent();
		Bundle bun = new Bundle();
		
		bun.putString("param_string", "indie"); // add two parameters: a string and a boolean
		bun.putBoolean("param_bool", true);

		intent.setClass(this, mixquery.class);
		intent.putExtras(bun);
		startActivity(intent);
	}
	
	public void getJazzHandler(View v){
		Intent intent = new Intent();
		Bundle bun = new Bundle();
		
		bun.putString("param_string", "jazz"); // add two parameters: a string and a boolean
		bun.putBoolean("param_bool", true);

		intent.setClass(this, mixquery.class);
		intent.putExtras(bun);
		startActivity(intent);
	}

	public void getPunkHandler(View v){
		Intent intent = new Intent();
		Bundle bun = new Bundle();

		bun.putString("param_string", "punk"); // add two parameters: a string and a boolean
		bun.putBoolean("param_bool", true);

		intent.setClass(this, mixquery.class);
		intent.putExtras(bun);
		startActivity(intent);
	}
	
	public void getAlternativeHandler(View v){
		Intent intent = new Intent();
		Bundle bun = new Bundle();

		bun.putString("param_string", "alternative"); // add two parameters: a string and a boolean
		bun.putBoolean("param_bool", true);

		intent.setClass(this, mixquery.class);
		intent.putExtras(bun);
		startActivity(intent);
	}
	
	public void getElectroHandler(View v){
		Intent intent = new Intent();
		Bundle bun = new Bundle();

		bun.putString("param_string", "electro"); // add two parameters: a string and a boolean
		bun.putBoolean("param_bool", true);

		intent.setClass(this, mixquery.class);
		intent.putExtras(bun);
		startActivity(intent);
	}
	
	public void getRaggaeHandler(View v){
		Intent intent = new Intent();
		Bundle bun = new Bundle();

		bun.putString("param_string", "raggae"); // add two parameters: a string and a boolean
		bun.putBoolean("param_bool", true);

		intent.setClass(this, mixquery.class);
		intent.putExtras(bun);
		startActivity(intent);
	}
	
	public void getHip_HopHandler(View v){
		Intent intent = new Intent();
		Bundle bun = new Bundle();

		bun.putString("param_string", "hip-hop"); // add two parameters: a string and a boolean
		bun.putBoolean("param_bool", true);

		intent.setClass(this, mixquery.class);
		intent.putExtras(bun);
		startActivity(intent);
	}
}
